import type { RouteRecordRaw } from "vue-router";

export default <Array<RouteRecordRaw>>[
    {
        path: "/permission/menu",
        name: "permissionMenu",
        component: () => import("@/views/internal/permission/Menu.vue"),
        meta: {
            title: "菜单管理",
        },
    },
    {
        path: "/permission/user",
        name: "permissionUser",
        component: () => import("@/views/internal/permission/permissionUser.vue"),
        meta: {
            title: "用户管理",
        },
    },
    {
        path: "/permission/role",
        name: "permissionRole",
        component: () => import("@/views/internal/permission/Role.vue"),
        meta: {
            title: "角色管理",
        },
    },
    {
        path: "/permission/company",
        name: "permissionCompany",
        component: () => import("@/views/internal/permission/company.vue"),
        meta: {
            title: "公司管理",
        },
    },
    {
        path: "/permission/dept",
        name: "permissionDept",
        component: () => import("@/views/internal/permission/Dept.vue"),
        meta: {
            title: "部门管理",
        },
    },
    {
        path: "/permission/job",
        name: "permissionJob",
        component: () => import("@/views/internal/permission/Job.vue"),
        meta: {
            title: "岗位管理",
        },
    }
];
